package com.cip.client.modelo;

import java.io.Serializable;
import java.util.List;

import javax.jdo.annotations.Extension;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 * 
 * @author Aleksandras Novikovas
 * @author System Tier
 * @version 1.0
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class SimpleGwtRPCDSRecord implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -328458335383488912L;


	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@Extension(vendorName = "datanucleus", key = "gae.encoded-pk", value = "true")
	private String id;

	@Persistent
	private String name;
	
	@Persistent
	private List<Simple> lista;
	

	public SimpleGwtRPCDSRecord() {

	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setLista(List<Simple> lista) {
		this.lista = lista;
	}

	public List<Simple> getLista() {
		return lista;
	}


}